package com.example.restaurant.controller.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AddOrderInfoForm {

    @ApiModelProperty("关联订单号")
    @NotBlank
    private String orderNumber;


    @ApiModelProperty("菜品数量")
    @NotNull
    private Integer dishNumber;

    @ApiModelProperty("菜品价格")
    @NotNull
    private Double dishPrice;

    @ApiModelProperty("菜品图片")
    @NotBlank
    private String dishImg;

    @ApiModelProperty("菜品名字")
    @NotBlank
    private String dishName;

    @ApiModelProperty("菜品id")
    @NotNull
    private Integer dishId;
}
